package com.gewe.wxChat.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gewe.wxChat.model.entity.SysConfig;
import com.gewe.wxChat.service.SysConfigService;
import com.gewe.wxChat.mapper.SysConfigMapper;
import org.springframework.stereotype.Service;

/**
* @author 86182
* @description 针对表【sys_config(token表)】的数据库操作Service实现
* @createDate 2024-10-09 17:25:19
*/
@Service
public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig>
    implements SysConfigService{

    @Override
    public int updateByType(SysConfig sysConfig) {
        if(sysConfig ==null){
            return 0;
        }
        return this.baseMapper.updateByType(sysConfig);
    }
}




